home *** CD-ROM | disk | FTP | other *** search
/ The Pier Shareware 8 / The Pier Shareware #8 (The Pier Exchange) (1996).ISO / 051 / primp.des < prev    next >
Text File  |  1995-10-05  |  16KB  |  348 lines

  1. ===========================================================================
  2.                           PRIMP DESCRIPTION FILE
  3. ===========================================================================
  4.  
  5.                  PRIMP - the PRe-Internet Mail Processor
  6.  
  7.                           by Bernal Schooley
  8.  
  9.                    (for use with PIMP by Jack Rickard)
  10.  
  11.     PRIMP is product of Advanced Designs, created for use on TBBS systems
  12. that run the Personal Internet Mail Processor (PIMP) by Jack Rickard of
  13. Boardwatch magazine.  If you have any questions regarding PRIMP, I can be
  14. contacted by e-mailing bernal@designs.oneworld.wa.com, through the 
  15. pimplist@boardwatch.com mailing list, or by phone at (708) 820-8875.
  16.  
  17.  
  18.     PRIMP tries to do the following:
  19.  
  20.         o Move e-mail and newsgroup files from PIMP's staging directories to
  21.           the live directories for PIMP to process.
  22.         o Convert UUCP bang path addresses to domain addresses in both the
  23.           From: and Reply-To: header fields
  24.         o Backup the inbound and outbound files to another directory
  25.         o Remove all extraneous header information from e-mail messages
  26.           leaving only what you've configured to keep
  27.         o If newsgroups are received that have compressed data PRIMP will
  28.           move these to another staging area for off-line or external
  29.           decompression
  30.         o Log the inbound and outbound transactions in both text files and
  31.           database files
  32.         o View the status of inbound and outbound messages
  33.         o View, Edit, and Erase various PIMP configuration and log files
  34.         o View sent and received statistics for each day, month, and year
  35.         o View user statistics by number of bytes sent or received
  36.         o Configure files that are to be secured from general FTPMAIL
  37.           requests, by specifying a list of valid From: addresses
  38.  
  39.     To purchase PRIMP you can send a check or money order for $49.00 to:
  40.  
  41.                             Advanced Designs
  42.                             246 Peppertree Ln
  43.                             Aurora, IL 60504
  44.  
  45. To purchase PRIMP online you may do so on the Advanced Designs BBS at
  46. 708-978-2777 or on the Advanced Systems Research system at 702-334-3308.
  47.  
  48. Distribution is done via e-mail from Advanced Designs and on the ASR system
  49. you can download it immediately when ordered via credit card.  Support for
  50. PRIMP is from Advanced Designs directly at 708-820-8875 or by e-mail through
  51. bernal@designs.oneworld.wa.com.
  52.  
  53.  
  54. If you are registered with any ASR product you may access the ASR Support
  55. Echo using our toll free 800 number at:
  56.  
  57.     ┌────────────────────────────────────────────────────────────────────┐
  58.     │   ╓───┐ ╓───╓──┐   ╓──────────────── ────╥──── ╓────    ╥  ┬       │
  59.     │   ╟───┤ ╙──┐╟──┴┐  ╙──┐╖ ┌╓──┐╓──┐╓──┐╥─┐║     ╟──  ╓── ╟──┤╓──┐   │
  60.     │   ╨   ┴────┘╨   ┴ ────┘╙─┘╟──┘╟──┘╙──┘╨ \╨     ╙────╙── ╨  ┴╙──┘   │
  61.     │                         1-800-ASR-TBBS                             │
  62.     └────────────────────────────────────────────────────────────────────┘
  63.  
  64.  
  65. ===========================================================================
  66.   INTRODUCTION
  67. ===========================================================================
  68.  
  69.     PRIMP, short for the PRe - Internet Mail Processor, is an addon utility
  70. for use with the Personal Internet Mail Processor (PIMP) option module for
  71. TBBS by Jack Rickard at Boardwatch Magazine.  PRIMP was designed to enhance
  72. the handling of internet mail by PIMP.  This means in english that PRIMP was
  73. written to clean up before and after PIMP so that we don't have to bug Jack
  74. about doing these things himself, inside the depths of PIMP's assembly
  75. language code.  Since PRIMP is a TDBS program, requiring the eSoft TDBS
  76. option module, it was much easier to implement these special routines with
  77. room to add even more, with much more flexibility and ease, than Jack could
  78. do in PIMP.
  79.  
  80.  
  81. ===========================================================================
  82.   FEATURES
  83. ===========================================================================
  84.  
  85.   What PRIMP actually does, is intercept all incoming mail before PIMP
  86. gets to it, and all outgoing mail before it is sent out to the internet.
  87. While PRIMP has the incoming mail it will do two things that your users will
  88. notice right away.  First, PRIMP will remove the un-necessary routing and
  89. header information from the e-mail messages.  You need to realize that most
  90. of the bulk of this removed header information is used only by system
  91. administrators to trouble shoot errors.  Some information is used by other
  92. "unix" programs during the handling of these messages, and even more
  93. information is just completely useless stuff added by some mail programs
  94. that feel the need to leave their mark on our mail.  Actually during the
  95. configuration of PRIMP you will have the opportunity to keep up to 12
  96. optional header fields that could possibly contain desired information, in
  97. this way you will have some control over the trimming of these header fields.
  98.  
  99.     The second thing that PRIMP does to the messages is to convert any
  100. UUCP bang addresses in the "From:" or "Reply-To:" fields to internet domain
  101. addresses that PIMP can handle much more smoothly.  UUCP bang addresses may
  102. occasionally be used in mail you get that comes from or through UUCP based
  103. mail systems.  It looks like "oneworld.wa.com!boardwatch.com!jack.rickard".
  104. When primp finds theses, it will strip out the senders name and the
  105. originating systems domain and rearrange them into a standard internet
  106. domain address like "jack.rickard@boardwatch.com".
  107.  
  108.     The rest of the things that PRIMP does are more for system
  109. administrative than for the users.  Foremost among these is statistical
  110. recording of message and newsgroup traffic, both sent and received, for each
  111. day, month, and year.
  112.  
  113.     In addition to system wide statistics, PRIMP will track e-mail statistics
  114. for each user.  And allow you to list the users with the highest number of
  115. bytes either sent or received.  With this you can check to make sure that
  116. there are no users abusing the use of mail.  Remember that with the spread
  117. of FTPMAIL sites your users may begin requesting files from them.  These
  118. users will quickly jump to the top of these statistics.
  119.  
  120.     The next and possibly the most important feature of PRIMP is FTPMAIL
  121. security.  PRIMP does not at this time use a password system, but rather
  122. allows a tighter level of security.  PRIMP's current method is to allow the
  123. sysop to define a specific file name and for that file define a list of
  124. "From:" addresses (full name@domain) which will be able to send FTPMAIL
  125. requests for that file.  What happens is PRIMP will scan all incoming
  126. messages sent to FTPMAIL and if the requested file is secured, PRIMP will
  127. verify if the "From:" address is listed as having access.  If so PRIMP will
  128. send the message on to PIMP as is.  On the other hand, if the request does
  129. not pass the security check, PRIMP will actually change the get request to
  130. "GET SECURED.TXT" and send that on to PIMP.  By changing the get request
  131. PIMP will not send the secured file but will instead attach the text file
  132. SECURED.TXT to the returning message.  This way you can write your own
  133. message explaining to the requester what they need to do or who they need
  134. to contact regarding the file.  An IMPORTANT thing to remember with the new
  135. PIMP feature of FTPMAIL is that if you use the TIMS.CTL file that eSofts
  136. Integrated Mail Module (TIMS) and allow fido file requests there is 
  137. effectively a back door that can be used to download these files that the
  138. PIMP FTPMAIL has access to.  When your trying to implement PRIMP's FTPMAIL
  139. security you should use the "FTPMAIL: [path to alternate .CTL]\FTPMAIL.CTL"
  140. configuration parameter in the PIMPOM.CTL to point PIMP at a different
  141. set of pickup directories than is accessible via TIMS.  (See the new
  142. PIMP v2.00 documentation for more info on this.)
  143.  
  144.     Before PRIMP actually begins processing you can configure it to make
  145. a backup of both the inbound and outbound messages.
  146.  
  147.     Another side feature of the PRIMP console is to allow viewing, editing,
  148. and erasing of various PIMP and PRIMP configuration and log files.  Also on
  149. the main console screen you can see which directories have files waiting to
  150. be processed and view the directories if desired.
  151.  
  152.  
  153. ===========================================================================
  154.   STEP-BY-STEP INSTALLATION INSTRUCTIONS
  155. ===========================================================================
  156.  
  157.  
  158. STEP 1 -
  159.  
  160.     Place the files, that come in the distribution ZIP file, into a
  161. directory which will be used to hold all the PRIMP data files and log
  162. files.  Then create the following menu entry and menu.
  163.  
  164.     On the menu you want to place an option for the sysop to use when
  165. accessing the PRIMP console create the following SDL or MEDIT entry:
  166.  
  167.         ENTRY:
  168.         KEY=P  TYPE=5 OPTDATA=PRIM
  169.         PRIV=255
  170.  
  171.     Then create the following menu called PRIM:
  172.  
  173.         Menu: PRIM
  174.         ENTRY:
  175.         KEY=^@  TYPE=200  OPTDATA=[path]\PRIMP /Q &&-
  176.         ENTRY:
  177.         KEY=^@  TYPE=45   OPTDATA=PRIM
  178.         EndMenu:
  179.  
  180.     This menu will allow PRIMP to be reloaded automatically whenever it
  181. calls out to PIMP or runs one of its sub-programs.  The &&- is needed to
  182. tell primp to exit by using a TYPE=12 OPTDATA=1 rather than just dropping
  183. out to the current menu.
  184.  
  185.  
  186. STEP 2 -
  187.  
  188.     Log on to your system and select the option for the PRIMP console.
  189. It will create a few files and then take you to the configuration screen.
  190. From here you need to fill in the appropriate values and then once that is
  191. completed you can exit the PRIMP console for now.  Following are short
  192. descriptions of the configuration options:
  193.  
  194.         UUCPIN, UUCPOUT, STAGEIN, and STAGEOUT should all be filled with
  195.           the same path as you will soon set in the PIMPOM.CFG file.
  196.         COMPRESSED: should be a path and directory for PRIMP to place all
  197.           compressed newsgroups into for off-line or network decompression.
  198.         BACKUP and BCKUP-PATH allow you to turn on and off backup copying
  199.           routines within PRIMP.  This is a bit CPU intensive and should
  200.           not be used unless completely necessary.
  201.         FTP SECURITY:  This option should be turned on only if you intend
  202.           to define files which will have enhanced FTPMAIL security to be
  203.           processed by PRIMP.
  204.         SLOWDOWN:  This option allow you to slow the processing of mail
  205.           and should be used if PRIMP has a heavy impact on the system
  206.           response time.  This will not completely fix the problem but
  207.           will allow a pause to happen between each processed message.
  208.         LOG: will tell PRIMP to track message statistics and will most
  209.           likely be desired.
  210.         PRUNE: will tell PRIMP to remove unwanted information from e-mail
  211.           message headers.  The KEEP fields are used to tell PRIMP what
  212.           not to remove from the header.  The red fields are required
  213.           by PIMP.
  214.         PIMP-PATH: the path to the PIMP configuration and log files.
  215.         PRIMP In and Out Processing: is used to keep PRIMPIN and PRIMPOUT
  216.           from processing when called by PIMP.
  217.  
  218. NOTE: You need to be sure to create a NEWS directory under the UUCPIN path!
  219. ^^^^  And a BAD directory under the STAGEIN and UUCPOUT directories!
  220.  
  221.  
  222. STEP 3 -
  223.  
  224.     From DOS edit the PIMPOM.CFG file and make sure the following paths and
  225. options are set to point to PRIMP:
  226.  
  227.         For automatic dialing of PIMP you need to have the UUCICO set to
  228.         INTERNAL.  Or if your message are handled via the WAFFLE uucico then
  229.         set UUCICO to WAFFLE.  [PRIMP does not support messages under the
  230.         FSUUCP format!]
  231.  
  232.         UUCPIN-STAGE: [inbound staging directory path]
  233.         UUCPOUT-STAGE: [outbound staging directory path]
  234.         SPAWN ON RECEIPT: [path to PRIMP]\PRIMPIN /Q
  235.         SPAWN FOR DELIVERY: [path to PRIMP]\PRIMPOUT /Q
  236.         FTPMAIL: [path to TIMS.CTL]\TIMS.CTL
  237.  
  238.     Next time PIMP is restarted the new configuration file will take affect.
  239.  
  240.  
  241. STEP 4 -
  242.  
  243.     Sit back!  Your done. <G>
  244.  
  245.  
  246. ===========================================================================
  247.   The following are detailed descriptions of the configuration variables
  248. ===========================================================================
  249.  
  250.  
  251. [A] UUCPIN:
  252.  
  253. This field should be identical to that found in the PIMPOM.CFG file.  Also in
  254. this directory you must create a NEWS directory.  PRIMP will place all
  255. un-compressed Usenet News packets in this NEWS directory.
  256.  
  257.  
  258. [B] UUCPOUT:
  259.  
  260. This field should be identical to that found in the PIMPOM.CFG file.  Also in
  261. this directory you must create a BAD directory.
  262.  
  263.  
  264. [C] UUCPIN-STAGE:
  265.  
  266. This field should be identical to that found in the PIMPOM.CFG file.  Also in
  267. this directory you must create a directory called BAD.  If PRIMP finds
  268. any .X file that it doesn't know how to handle or that is corrupted, PRIMP
  269. will place those files in this BAD directory under the staging directory.
  270.  
  271.  
  272. [D] UUCPOUT-STAGE:
  273.  
  274. This field should be identical to that found in the PIMPOM.CFG file.
  275.  
  276. [E] COMPRESSED:
  277.  
  278. PRIMP will place all compressed Usenet News packets in this staging
  279. directory.  This is where you will point any external routines you may need
  280. to use in order to un-compress the news packets.
  281.  
  282.  
  283. [F] BACKUP: YES/NO
  284. [G] BCKUP-PATH:
  285.  
  286. This field is used to tell PRIMP to create backup copies of all files in the
  287. staging directory before it begins processing.  Note that this can be a CPU
  288. intensive task and probably should not be used except when debugging your
  289. internet mail operations.
  290.  
  291.  
  292. [H] FTP SECURITY: YES/NO
  293.  
  294. FTPMAIL under PIMP is a simple access to any directories that you set up
  295. to have available for request.  With PRIMP you can set up individual files
  296. in these directories to have a limited form of security which should prove
  297. fairly good.  The idea here is that you will define (on console screen 6) a
  298. file you want secured and then for that file you create a list of "From:"
  299. addresses which are allowed to request that file.  If anyone whose address
  300. is not in the list requests the file, PRIMP will change the GET FILE.ZIP to
  301. GET SECURED.TXT.  This allows you to set up a file called SECURED.TXT which
  302. tells the unauthorized requester why the file was not sent.  By allowing
  303. PIMP to process the request with secured.txt the requester will receive a
  304. message back explaining the problem so that they do not repeatedly try to
  305. request that file.
  306.  
  307.  
  308. [I] SLOWDOWN: 0-9
  309.  
  310. This field will allow you to slow down the processing of staged mail.  This
  311. will reduce the affects of CPU load while increasing the length of time it
  312. takes to process the staged mail.  A value of 0 will tell PRIMP to run at
  313. full speed, while a values up to 9 will cause it to pause between each
  314. message for 1 to 9 seconds based on the value entered here.
  315.  
  316.  
  317. [J] LOG: YES/NO
  318.  
  319. This field will turn on logging by PRIMP.  PRIMP does two types of logging.
  320. First, is a text file that contains the name of the user who sent or
  321. received the message and the size of the data file (.D file).  Second,
  322. PRIMP will record in the PRIMPDAY.DBF and PRIMPUSR.DBF files, the size and
  323. number of messages that each user sends and receives.  This data can be seen
  324. on the PRIMP console.
  325.  
  326.  
  327. [K] PRUNE: YES/NO
  328. [M] Mail header field to KEEP
  329.  
  330. These fields are used to control whether PRIMP will prune fields from the
  331. header of mail.  The KEEP variables allow you to define what information
  332. fields should be left in the header. 
  333.  
  334.  
  335. [L] PIMP-PATH:
  336.  
  337. This field should contain the path and directory which contains all the
  338. PIMP configuration and log files.
  339.  
  340.  
  341. [O] PRIMP In and Out Processing: ON/OFF
  342.  
  343. This controls whether PRIMPIN and PRIMPOUT will process the files when
  344. called by PIMP during spawned tasks.  Use this field if you want to manually
  345. control processing for a limited period.
  346.  
  347.  
  348.